package com.chexiehui.jc.event;

import java.io.Serializable;

/**
 * 关注用户状态改变事件
 */
public class GlobalFollowUserEvent implements Serializable {

    private String userId;
    private boolean isFollow;

    public GlobalFollowUserEvent(String userId, boolean isFollow) {
        this.userId = userId;
        this.isFollow = isFollow;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public boolean isFollow() {
        return isFollow;
    }

    public void setFollow(boolean follow) {
        isFollow = follow;
    }
}
